package com.fernfx.xingtan.my.contract;

import android.content.Context;

import com.fernfx.xingtan.common.base.BaseModel;
import com.fernfx.xingtan.common.base.BasePresenter;
import com.fernfx.xingtan.common.base.BaseView;
import com.fernfx.xingtan.common.network.IRequestCallback;

import java.util.Map;

/**
 * Created by admin on 2018/8/16.
 */

public interface SettingApplicationContract {
    interface View extends BaseView{
        void freshenCacheImg();

        void setHelpUrl(String helpUrl);

        void setAboutUsUrl(String aboutUsUrl);
    }

    interface Presenter extends BasePresenter{
        void showClearCacheDialog(Context context);
        //退出登录
        void quitLogin(Context context);

        void getHelpUrl(Map<String,Object> requestArgsMap);

        void getAboutUsUrl(Map<String,Object> requestArgsMap);
    }

    interface Model extends BaseModel{
        void getHelpUrl(Map<String,Object> requestArgsMap, IRequestCallback iRequestCallback);

        void getAboutUsUrl(Map<String,Object> requestArgsMap,IRequestCallback iRequestCallback);
    }
}
